set dotenv-load := true
set shell := ["bash", "-euc"]
set windows-shell := ["powershell.exe", "-NoLogo", "-NoProfile", "-Command"]

# Show available recipes
default:
    @just --list

# Install workspace dependencies
init:
    pnpm install

# Check formatting
lint:
    pnpm format:check

# Format all source files
format:
    pnpm format

# Type check all workspace packages
typecheck:
    pnpm typecheck

# Run all tests
test:
    pnpm test

# Build Web and Electron workspace packages
build:
    pnpm build

# Run the Web development server
dev:
    pnpm dev

# Run Web and Electron together
dev-desktop:
    pnpm dev:desktop
